import React, { ReactNode } from 'react';
import {cn} from "@nextui-org/react";

export interface IconWrapperProps {
  children: ReactNode,
  className?: string,
}

const IconWrapper: React.FC<IconWrapperProps> = ({className, children}) => {
  return (
    <div
      className={cn(
        className,
        'flex items-center rounded-small justify-center w-7 h-7'
      )}
    >
      {children}
    </div>
  );
};

export default IconWrapper;
